:root {
    --el-color-primary: #409eff;
    --el-color-primary-light-3: #79bbff;
    --el-color-primary-light-5: #a0cfff;
    --el-color-primary-light-7: #c6e2ff;
    --el-color-primary-light-8: #d9ecff;
    --el-color-primary-light-9: #ecf5ff;
}

body {
    background-color: #f4f5f7;
    font-family: 'Inter', sans-serif;
}

.container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 80px auto;
    max-width: 800px;
}

h1 {
    color: var(--el-color-primary);
    font-size: 24px;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border: 1px solid #e4e7ed;
    padding: 8px;
    text-align: left;
}

th {
    background-color: var(--el-color-primary-light-9);
    color: #303133;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--el-color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--el-color-primary-light-3);
}

.btn-danger {
    background-color: #f56c6c;
    color: white;
}

.btn-danger:hover {
    background-color: #f78989;
}

.btn-warning {
    background-color: #e6a23c;
    color: white;
}

.btn-warning:hover {
    background-color: #ebb563;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* 消息提示样式 */
.message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.message-success {
    background-color: #f0f9eb;
    color: #67c23a;
    border: 1px solid #e1f3d8;
}

.message-error {
    background-color: #fef0f0;
    color: #f56c6c;
    border: 1px solid #fde2e2;
}

/* 分页样式 */
.el-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.el-pagination__sizes {
    margin-right: 10px;
}

.el-pagination__total {
    margin-left: 10px;
}

.el-pagination__jump {
    margin-left: 10px;
}

.el-pagination__item {
    display: inline-block;
    min-width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin: 0 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.el-pagination__item:hover {
    background-color: var(--el-color-primary-light-8);
}

.el-pagination__item.active {
    background-color: var(--el-color-primary);
    color: white;
}fa-solid

.el-pagination__prev,
.el-pagination__next {
    display: inline-block;
    min-width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin: 0 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.el-pagination__prev:hover,
.el-pagination__next:hover {
    background-color: var(--el-color-primary-light-8);
}

.el-pagination__prev.disabled,
.el-pagination__next.disabled {
    cursor: not-allowed;
    color: #ccc;
}

